<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta content="mshtml 6.00.2900.3268" name=generator />
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<title>{% block title %}{% endblock %}</title>
	<meta name="keywords" content=""/>
	<meta name="description" content=""/>
	{% block common_style %}
	{% endblock %}	
	
	{% block style %}	
	{% endblock %}
		
	{% block common_js %}
	{% endblock %}	
	
	{% block js %}
	{% endblock %}
</head>
{% block body %}<body>{% endblock %}
<div class="c" id="header">
	<div class="nav">
       {% if user.is_authenticated %}
				<a href="/question/">Home</a>&nbsp;&nbsp;<a href="/people/mine/">{{ user.username }}</a>&nbsp;&nbsp; <a href="/account/logout/">退出</a>  
       {% else %}
        	<span class="login"><a href="/account/register/">注册</a>　
            <a href="/account/login/">登录</a></span>   	
       {% endif %}    
    </div>
</div>
<br/>
<br/>
<br/>
<br/>
<div class="main c">

	{% block content %}
	{% endblock %}

</div>
<br/>
<br/>
<br/>
<br/>
<br/>
<div class="c" id="footer">
<a href="#">关于我们</a>

</div>
</body>
</html>
